Line Continuation

Formulas, rules, messages, function definitions, and import directives must end with a line break. Line breaks within these constructs are allowed only through the use of a line continuation (with one exception; see below). CSL supports Visual-Basic-style line continuation, a space followed by an underscore, as in the following:

Copy
// A space followed by the underscore is line continuation
a_bool = (part.thickness > machine.minThickness) && _ 
    (part.thickness < machine.maxThickness)

 

Conditional expressions can contain a line break after a boolean expression that follows if.